SWREG ID: 2493 ------------------------------------------------------------------------- 7/7/94 TITLESPY.VBX. Title Bar and System Menu Custom Control. Version 4.0. ------------------------------------------------------------------------- This VBX lets you change size and orientation of Title (Caption) Bar whithin Visial Basic, Visual C++ ,Borland C++ 4.0, etc. applications. Make Title Bar small, as it is in VB ToolsBar, or make it huge as you want. Allows to choose Title Bar's font. Left-align Caption Text. Also lets you modify the System Menu. New in this version: 1. Third Button on a Title Bar. 2. Full color control. 3. Always On-Top property. 4. New demo. ------------------------------------------------------------------------- How to use. ---------- To modify Title Bar: 1. Put control on form. 2. Choose Caption Bar size in TitleSize property. 3. Choose Caption Bar orientation in TitlePlace property. 4. Run application. Enjoy. ---------- If you want to append your items into System Menu: 1. Put control on form. 2. Add next line into your code: TitleSpy1.AddItem ItemStr$, n where 'ItemStr$' is a String, you want to appear in System Menu, 'n' is Menu Item ID between 100 and 1000. This ID will be send into SysMenu Event of TitleSpy, when user will select this Item in the System Menu. To append separator make n equal 0. 3. In SysMenu Event of TitleSpy append a code what will executes when user selected your Item from the System Menu. 4. Run application. Enjoy. ---------- If you don't want to spy Title Bar, but want to use System menu or Always OnTop options: Set 'SpyAllowed' property to false. ------------------------------------------------------------------------- Fonts. This version let you possibility to use any font in a Caption Bars. But you have to remember: if you use Non-True-Type fonts: - Vertical oriented Caption will not have a text. - Size of font, used for Title Bar, will be nearest existing size for this particular font, what matches to current height of Title Bar. if you use Vertical oriented Caption - StrikeThrou and Underline don't work property for vertical oriented fonts. ------------------------------------------------------------------------- Restrictions. You can not to have a menu in window that have TITLESPY as a child. If you use menu, it will be invisible in Run Mode. If you make 'BorderStyle' of the Form equal to 'Fixed Double' or 'No border', TitleSpy changes it to 'Fixed Single'. ------------------------------------------------------------------------- Registration. You can register this Control by sending your name and either: 1. On-line registration with Compuserve, type GO SWREG and register product number 2493. The fee is $40.00. A registered copy will be sent by E-Mail. 2. Sending $40.00 and your name and address to the E-Mail address below. Please provide me with an E-Mail address where the control can be sent, alternatively add $3.50 for shipping and a disk will be mailed to you. Overseas shipping varies with destination. ------------------------------------------------------------------------- If you have any comments or questions, please send them to me. I can be reached at Alex Spektor, 610 Valley Stream Circle Langhorne, PA 19053 (215) 741-5611. Or E-Mail at CIS: 73321,1525 and Internet aspektor@susq.com.